package cn.zwx.member.svc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author zhangwenxue
 */
@Data
@ApiModel("用户新建地址入参")
public class AddressCreateReqDTO extends AddressBaseDTO {

    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id",required = true)
    private Long userId;
}
